* src/minibuf.c (Finternal_complete_buffer): Only show internal buffers if
authorStefan Monnier <monnier@iro.umontreal.ca>
Sun, 2 Oct 2011 00:25:27 +0000 (20:25 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Sun, 2 Oct 2011 00:25:27 +0000 (20:25 -0400)
they've been requested explicitly.

lisp/ChangeLog
src/ChangeLog
src/minibuf.c

index 29b48a1e7906de17b231314854060f5365556d9d..814f6e8871d3f44ae788fbff1cd45dc26bd6ab5b 100644 (file)
 
        * help.el (describe-key-briefly): Copy previous standard-output change.
 
-2011-09-13  PJ Weisberg  <pj@irregularexpressions.net>  (tiny change)
+2011-09-13  PJ Weisberg  <pj@irregularexpressions.net>
 
        * help.el (where-is): Respect non-standard standard-output.  (Bug#9030)
 
index d2aff7f7bf805472354ed65a4602fccd902eb40a..f8adae94c14f58d68f7e1bcaaf11a0d179074eae 100644 (file)
@@ -1,3 +1,8 @@
+2011-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * minibuf.c (Finternal_complete_buffer): Only show internal buffers if
+       they've been requested explicitly (bug#9591).
+
 2011-10-01  Andreas Schwab  <schwab@linux-m68k.org>
 
        * keymap.c (Fsingle_key_description): Use make_specified_string
index 341d544ef51a4a64779b7b6e4a4d91275cc79121..f082cc01d975d561aa3521198efbe83b329fe9aa 100644 (file)
@@ -1859,8 +1859,8 @@ The arguments STRING and PREDICATE are as in `try-completion',
          /* First, look for a non-internal buffer in `res'.  */
          while (CONSP (bufs) && SREF (XCAR (bufs), 0) == ' ')
            bufs = XCDR (bufs);
-         if (NILP (bufs))
-           /* All bufs in `res' are internal, so don't trip them out.  */
+         if (NILP (bufs) && EQ (Flength (res), Flength (Vbuffer_alist)))
+           /* All bufs are internal, so don't trip them out.  */
            return res;
          res = bufs;
          while (CONSP (XCDR (bufs)))